#include <iostream>
#include "RingBuffer.h"

using namespace std;

int main()
{
	unsigned int size = 10;
	RingBuffer<int> buffer(size);
	int empty = buffer.get(10);
	cout << "Empty: " << empty << endl; 
	for(int i=0; i<size; i++)
	{
		buffer.add(i);
	}
	buffer.print();

	buffer.add(100);
	buffer.print();
	int a;
	cin >> a;
	return 0;
}